package com.sixmac.service;

import com.sixmac.entity.Malfunction;
import com.sixmac.service.common.ICommonService;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * Created by Administrator on 2016/5/19 0019 上午 10:12.
 */
public interface MalfunctionService extends ICommonService<Malfunction> {

    // 查询新增故障报修列表
    public List<Malfunction> findListNew();

    // 查询不同状态的故障报修列表
    public List<Malfunction> findListByStatus(Integer status);

    public Page<Malfunction> pageByParams(Integer id, String mobile, Integer type, Integer areaId, Integer status, Integer pageNum, Integer pageSize);
}